package edu.codink.xq.center.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Salary entity.
 * 
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "Salary")
public class Salary implements java.io.Serializable
{

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private Integer ygbh;
	private Integer bmbh;
	private Double fixed;
	private Double subsidies;
	private Double allowance;
	private Double jobyear;
	private Double addoffcse;
	private Double tax;
	private Double insurance;
	private Integer latecount;
	private Double leavecount;
	private Double totalsalar;
	private Double subtraction;
	private Double actual;

	// Constructors

	/** default constructor */
	public Salary()
	{
	}

	/** minimal constructor */
	public Salary(Integer id)
	{
		this.id = id;
	}

	/** full constructor */
	public Salary(Integer id, Integer ygbh, Integer bmbh, Double fixed,
			Double subsidies, Double allowance, Double jobyear,
			Double addoffcse, Double tax, Double insurance, Integer latecount,
			Double leavecount, Double totalsalar, Double subtraction,
			Double actual)
	{
		this.id = id;
		this.ygbh = ygbh;
		this.bmbh = bmbh;
		this.fixed = fixed;
		this.subsidies = subsidies;
		this.allowance = allowance;
		this.jobyear = jobyear;
		this.addoffcse = addoffcse;
		this.tax = tax;
		this.insurance = insurance;
		this.latecount = latecount;
		this.leavecount = leavecount;
		this.totalsalar = totalsalar;
		this.subtraction = subtraction;
		this.actual = actual;
	}

	// Property accessors
	@Id
	@Column(name = "ID", unique = true, nullable = false)
	public Integer getId()
	{
		return this.id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	@Column(name = "YGBH")
	public Integer getYgbh()
	{
		return this.ygbh;
	}

	public void setYgbh(Integer ygbh)
	{
		this.ygbh = ygbh;
	}

	@Column(name = "BMBH")
	public Integer getBmbh()
	{
		return this.bmbh;
	}

	public void setBmbh(Integer bmbh)
	{
		this.bmbh = bmbh;
	}

	@Column(name = "FIXED", precision = 15, scale = 0)
	public Double getFixed()
	{
		return this.fixed;
	}

	public void setFixed(Double fixed)
	{
		this.fixed = fixed;
	}

	@Column(name = "SUBSIDIES", precision = 15, scale = 0)
	public Double getSubsidies()
	{
		return this.subsidies;
	}

	public void setSubsidies(Double subsidies)
	{
		this.subsidies = subsidies;
	}

	@Column(name = "ALLOWANCE", precision = 15, scale = 0)
	public Double getAllowance()
	{
		return this.allowance;
	}

	public void setAllowance(Double allowance)
	{
		this.allowance = allowance;
	}

	@Column(name = "JOBYEAR", precision = 15, scale = 0)
	public Double getJobyear()
	{
		return this.jobyear;
	}

	public void setJobyear(Double jobyear)
	{
		this.jobyear = jobyear;
	}

	@Column(name = "ADDOFFCSE", precision = 15, scale = 0)
	public Double getAddoffcse()
	{
		return this.addoffcse;
	}

	public void setAddoffcse(Double addoffcse)
	{
		this.addoffcse = addoffcse;
	}

	@Column(name = "TAX", precision = 15, scale = 0)
	public Double getTax()
	{
		return this.tax;
	}

	public void setTax(Double tax)
	{
		this.tax = tax;
	}

	@Column(name = "INSURANCE", precision = 15, scale = 0)
	public Double getInsurance()
	{
		return this.insurance;
	}

	public void setInsurance(Double insurance)
	{
		this.insurance = insurance;
	}

	@Column(name = "LATECOUNT")
	public Integer getLatecount()
	{
		return this.latecount;
	}

	public void setLatecount(Integer latecount)
	{
		this.latecount = latecount;
	}

	@Column(name = "LEAVECOUNT", precision = 15, scale = 0)
	public Double getLeavecount()
	{
		return this.leavecount;
	}

	public void setLeavecount(Double leavecount)
	{
		this.leavecount = leavecount;
	}

	@Column(name = "TOTALSALAR", precision = 15, scale = 0)
	public Double getTotalsalar()
	{
		return this.totalsalar;
	}

	public void setTotalsalar(Double totalsalar)
	{
		this.totalsalar = totalsalar;
	}

	@Column(name = "SUBTRACTION", precision = 15, scale = 0)
	public Double getSubtraction()
	{
		return this.subtraction;
	}

	public void setSubtraction(Double subtraction)
	{
		this.subtraction = subtraction;
	}

	@Column(name = "ACTUAL", precision = 15, scale = 0)
	public Double getActual()
	{
		return this.actual;
	}

	public void setActual(Double actual)
	{
		this.actual = actual;
	}

}